package com.ksd.orm.pug.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ksd.pug.pojo.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * RoleMapper
 * 创建人:yykk<br/>
 * 时间：2022-04-18 01:10:19 <br/>
 * 源码下载：前台代码 git clone https://gitee.com/kekesam/kuangstudy-pug-ui.git
 * 飞哥B站地址：后台代码 git clone https://gitee.com/kekesam/kuangstudy-pug-parent.git
 *
 * @version 1.0.0<br />
 */
public interface RoleMapper extends BaseMapper<Role> {


    /**
     * 查询用户对应的权限
     *
     * @param roleid
     * @return
     */
    List<Long> selectRolePermission(@Param("roleid") Long roleid);

}